﻿using System;
using System.Xml;
using System.Xml.Serialization;
using tjb.Utility.Config;


namespace tjb.Utility.Setting
{
    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    public class CDataTest : ConfigBase<CDataTest>
    {

        // private CDataTest() { }
        // [XmlElement("Agreement", Type = typeof(CDATA))]

        /// <summary>
        /// 
        /// </summary>
        public CDATA Agreement
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        [XmlAttribute]
        public CDATA Other { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int SomeConfigFiled
        {
            get;
            set;
        }


        #region 接口
 
        protected override CDataTest Current
        {
            get { return this; }
        }
      
        protected override FormatType CurrentFormatter
        {
            get
            {      
                
                return FormatType.Binary;
            }
            set
            {
                base.CurrentFormatter = value;
            }
        }
        #endregion
    }


}
